//
//  Log.swift
//  TSKit
//
//  Created by chenyusen on 2018/3/16.
//

import Foundation

public func TSLog<T>(_ message: T,
              file: String = #file,
              method: String = #function,
              line: Int = #line) {
    #if DEBUG
        print("\((file as NSString).lastPathComponent)[\(line)], \(method): \(message)")
    #endif
}
